package com.czr.frame.spring;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

import com.car.frame.baidu.geocoding.api.method.Wgs2Gcj;
import com.czr.frame.test.DBMethom;

import oracle.net.ano.AnoNetInputStream;

public class SpringRun {

	public static void main(String[] args) {
		ApplicationContext context = new FileSystemXmlApplicationContext("server.xml");
		Wgs2Gcj wgs2Gcj =  (Wgs2Gcj)context.getBean("手机定位坐标生成");
//		wgs2Gcj.execute();
//		wgs2Gcj.execute2();
//		wgs2Gcj.zbzh();
		
		
		DBMethom db =  (DBMethom)context.getBean("dBMethom");
		db.GeneratorMovie("G:\\jonee\\apache-tomcat-9.0.0.M20-windows-x64\\apache-tomcat-9.0.0.M20\\webapps\\SSHFrame\\movie");
	}
}
